var request = require("request");
var EventProxy = require('eventproxy');
var config = require('../../config.json');
var _ = require('lodash');
var store_private = config.store.store_private;


exports.getCurrent = function (req, res) {
    if (req.session.user) {
        res.format_json(req.session.user, 0);
    } else {
        res.format_json({}, 500, "无法获取当前登录用户信息");
    }
};